package com.hy.demo.learn.proxy;

import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author cjl
 * @version 1.0
 * @since 2020-08-18 13:53
 */
@Component
public class Transaction {

    void beginTransaction(){
        System.out.println("开始事务");
    }

    void commitTransaction(){
        System.out.println("提交事务");
    }
}
